package com.spring.cloud.study.collection;

import org.springframework.stereotype.Component;

/**
 * Created with IntelliJ IDEA.
 * User: 齐丹枫
 * Date: 2018/1/26
 * Time: 17:13
 * To change this template use File | Settings | File Templates.
 * Description: 当 Test 为 fallbackFactory时，TestHystrix应该实现 FallbackFactory<Test>
 */
@Component
public class TestHystrix implements Test{

    @Override
    public String getServerPort(){
        return "接口暂时不能用";
    }
}
